package com.jnshu.pojo;

import lombok.Data;

@Data
public class Course {
    private Long id;

    private String title;

    private Integer subject;

    private Integer grade;

    private Integer classify;

    private Long roleId;

    private Integer status;

    private String teacherName;

    private String job;

    private String cover;

    private String videoLink;

    private String introduction;

    private Integer viewAmount;

    private Long createBy;

    private Long updateBy;

    private Long createAt;

    private Long updateAt;

//    public Course(Long id, String title, Integer subject, Integer grade, Integer classify, Long roleId, Integer status, String teacherName, String job, String cover, String videoLink, String introduction, Integer viewAmount, Long createBy, Long updateBy, Long createAt, Long updateAt) {
//        this.id = id;
//        this.title = title;
//        this.subject = subject;
//        this.grade = grade;
//        this.classify = classify;
//        this.roleId = roleId;
//        this.status = status;
//        this.teacherName = teacherName;
//        this.job = job;
//        this.cover = cover;
//        this.videoLink = videoLink;
//        this.introduction = introduction;
//        this.viewAmount = viewAmount;
//        this.createBy = createBy;
//        this.updateBy = updateBy;
//        this.createAt = createAt;
//        this.updateAt = updateAt;
//    }
}